<?php
class Day_m extends MY_Model{
	
	function __construct(){
		parent::__construct();
		$this->_table = 'emp_day';		
	}
	function get($y,$m){
		$this->db->where('year',$y);
		$this->db->where('month',$m);
		return $this->db->get($this->_table)->row();
	}
}